package com.leetcode.utils;

public class PrintUtil {

    public static void printArray(int[] nums) {
        StringBuffer sb = new StringBuffer("");
        int nlen = nums.length;
        for (int i = 0; i < nlen; i++) {
            sb.append(nums[i] + ",");
        }
        System.out.println(sb.toString());
    }
}
